﻿using Microsoft.EntityFrameworkCore.Migrations;

namespace DualControl.Migrations
{
    public partial class change_companyinfo : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropColumn(
                name: "HazardousWorkPlaceType",
                table: "CompanyInfos");

            migrationBuilder.AddColumn<string>(
                name: "HazardousWorkPlaceTypes",
                table: "CompanyInfos",
                nullable: true);
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropColumn(
                name: "HazardousWorkPlaceTypes",
                table: "CompanyInfos");

            migrationBuilder.AddColumn<int>(
                name: "HazardousWorkPlaceType",
                table: "CompanyInfos",
                nullable: true);
        }
    }
}
